package com.bbm.bbmanage.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author : lyj
 * @Timer : 2023/12/7
 * @Description :
 */
@Data
public class CommentVo {

    private Integer id;

    private Long houseId;

    private Integer userId;

    private String username;

    private String avatar;
    //昵称
    private String nickName;

    private String content;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
